<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>用户添加</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="../../../layui/css/layui.css" media="all">
</head>
<body>

  <div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
    <div class="layui-form-item">
      <label class="layui-form-label">登录账户</label>
      <div class="layui-input-inline">
        <input type="text" name="login_account" lay-verify="required" placeholder="请输入登录账户" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">用户名称</label>
      <div class="layui-input-inline">
        <input type="text" name="user_name" lay-verify="required" placeholder="请输入用户名称" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">角色</label>
      <div class="layui-input-inline">
          <select name="role_id">
              <option value="1">系统管理员</option>
              <option value="2">线路管理员</option>
              <option value="3">巡检员</option>
              <option value="4">消缺员</option>
          </select>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">邮箱</label>
      <div class="layui-input-inline">
        <input type="text" name="email" lay-verify="email" placeholder="请输入邮箱" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">入职日期</label>
      <div class="layui-input-inline">
        <input type="text" name="entry_date" class="layui-input" id="entry_date" placeholder="yyyy-MM-dd">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">离职日期</label>
      <div class="layui-input-inline">
        <input type="text" name="resign_date" class="layui-input" id="resign_date" placeholder="yyyy-MM-dd">
      </div>
    </div>
    <div class="layui-form-item" lay-filter="sex">
      <label class="layui-form-label">使用状态</label>
      <div class="layui-input-block">
        <input type="radio" name="status" value="1" title="正常" checked>
        <input type="radio" name="status" value="2" title="冻结">
      </div>
    </div>
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-front-submit" value="确认">
    </div>
  </div>

  <!--作为单独引入，注意放置在引入layui.js之前-->
  <script src="../../../layui/laydate/laydate.js"></script>
  <script type="text/javascript">
      //入职日期
      laydate.render({
          elem: '#entry_date'
      });
      //离职日期
      laydate.render({
          elem: '#resign_date'
      });
  </script>

  <script src="../../../layui/layui.js"></script>
</body>
</html>